package com.milo.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan("com.milo")
@SpringBootApplication
public class Start {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(Start.class,args);
        String test = context.getEnvironment().getProperty("test");
        System.out.println(test);
        //context.addApplicationListener(new LogoutListener());
    }




}
